package com.starlight.flower_server.controller.authentication;

import com.starlight.flower_server.infrastructure.RoleType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author yfy2001
 * @date 2023/4/10 8:37
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthenticationCheck {
    RoleType[] roleType();
}
